import Vue from 'vue';
import Vuex from 'vuex';

import user from './modules/user';
import menu from './modules/menu';
import breadcrumb from './modules/breadcrumb';
import bizConfig from './modules/biz-config';
import getters from './getters';

Vue.use(Vuex);

const store = new Vuex.Store({
  modules: {
    user,
    menu,
    breadcrumb,
    bizConfig,
  },
  getters
});
export default store;
